package operators;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author marcin
 */
import java.awt.Dialog;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.swing.JFrame;

/**
 *
 * @author marcin
 */
public abstract class OperatorImpl implements Serializable {
    public static Double IM_LOW=0.3;
    public static Double IM_MED=0.6;
    public static Double IM_HIG=0.9;
    public enum IMPORTANCE { LOW, MEDIUM, HIGH};
    public Map<String, Double> impMap;
    public Map<String, Boolean> essenMap;
    public Double hMax=1.0;

    public OperatorImpl() {
        this.impMap = new HashMap<String, Double>();
        this.essenMap = new HashMap<String, Boolean>();
    }

    public abstract Double calculateHappiness(Map<String,Double> map);
     public abstract void showDialog(JFrame frame, List<String> inputs);
    
}
